package com.sxhalo.fsms.domain;

import java.util.Date;

public class FactDeviceLinkageRule {
    /**
     * 联动条件id
     */
    private Integer id;

    /**
     * 联动任务id
     */
    private Integer linkageId;

    /**
     * 变量id
     */
    private Integer attrId;

    /**
     * 设备ID
     */
    private Integer deviceId;

    /**
     * 是否启用
     */
    private Integer useState;

    /**
     * 数值规则,高高，大于或大于等于最大值；中间、介于中间；低低，小于或小于等于最小值
     */
    private String valueRole;

    /**
     * 数值比较符号,>,>=,=,<=,<
     */
    private String symbol;

    /**
     * 最大值
     */
    private Integer maxValue;

    /**
     * 最小值
     */
    private Integer minValue;

    /**
     * 或并关系,and并且，or或者
     */
    private String andOr;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 删除标记
     */
    private Integer deleteFlag;
    private String deviceName;
    private String browseName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getLinkageId() {
        return linkageId;
    }

    public void setLinkageId(Integer linkageId) {
        this.linkageId = linkageId;
    }

    public Integer getAttrId() {
        return attrId;
    }

    public void setAttrId(Integer attrId) {
        this.attrId = attrId;
    }

    public Integer getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(Integer deviceId) {
        this.deviceId = deviceId;
    }

    public Integer getUseState() {
        return useState;
    }

    public void setUseState(Integer useState) {
        this.useState = useState;
    }

    public String getValueRole() {
        return valueRole;
    }

    public void setValueRole(String valueRole) {
        this.valueRole = valueRole == null ? null : valueRole.trim();
    }

    public String getSymbol() {
        return symbol;
    }

    public void setSymbol(String symbol) {
        this.symbol = symbol == null ? null : symbol.trim();
    }

    public Integer getMaxValue() {
        return maxValue;
    }

    public void setMaxValue(Integer maxValue) {
        this.maxValue = maxValue;
    }

    public Integer getMinValue() {
        return minValue;
    }

    public void setMinValue(Integer minValue) {
        this.minValue = minValue;
    }

    public String getAndOr() {
        return andOr;
    }

    public void setAndOr(String andOr) {
        this.andOr = andOr == null ? null : andOr.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getBrowseName() {
        return browseName;
    }

    public void setBrowseName(String browseName) {
        this.browseName = browseName;
    }
}